@layout("/common/_container.html",{js:["/assets/modular/system/btyShop/btyShop_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="btyShopForm" lay-filter="btyShopForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="shopId" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">门店Id<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="shopId" name="shopId" placeholder="请输入门店Id" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">门店编码<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="shopCode" name="shopCode" placeholder="请输入门店编码" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">门店名称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="shopName" name="shopName" placeholder="请输入门店名称" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">联系方式<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="phone" name="phone" placeholder="请输入联系方式" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">门店类型<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="joinFlag" name="joinFlag" placeholder="请输入门店类型" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">是否营业<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="enableFlag" name="enableFlag" placeholder="请输入是否营业" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">上级机构<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="parentId" name="parentId" placeholder="请输入上级机构" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">联系地址<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="addr" name="addr" placeholder="请输入联系地址" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">修改时间<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="modifyDate" name="modifyDate" placeholder="请输入修改时间" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}